package com.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.criteria.CriteriaBuilder;

/**
 * @ fileName:Branch
 * @ description:
 * @ author:dzh
 * @ createTime:2022/5/4 22:55
 * @ version:1.0.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Branch {
    private Integer branchId;
    private Integer storesId;
    private Integer bookId;
    private Integer bookQty;
    private Book book;

    private Integer addStock;

    public Branch(Integer storesId, Integer bookId, Integer bookQty) {
        this.storesId = storesId;
        this.bookId = bookId;
        this.bookQty = bookQty;
    }
}
